package com.linkgie.galaxyframework.httpproxy.converters;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import com.linkgie.galaxyframework.httpproxy.RequestBodyConverter;
import com.linkgie.galaxyframework.utils.BinaryUtils;

public class InputStreamBodyConverter implements RequestBodyConverter{

	@Override
	public void write(Object param, OutputStream out) throws IOException{
		BinaryUtils.copy((InputStream)param, out);
	}

}
